<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
  <title>配置</title>

  <script th:src="@{/js/poster.js}" type="text/javascript"></script>
</head>
<body>
<h1>JSON配置</h1>
<form action="#" th:action="@{/submit}" th:object="${configForm}" method="post" enctype="multipart/form-data">
  <textarea th:field="*{jsonStr}" rows="10" cols="50"></textarea>
  <br>
  <button type="submit">Submit</button>
</form>
</body>
</html>